package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ExternalSecurityClause {

    private int beginIndex;
    private int endIndex;
    private boolean externalSecurityDefiner;
    private boolean externalSecurityInvoker;
    private boolean externalSecurityImplementationDefined;

    public ExternalSecurityClause(int beginIndex,
                                  int endIndex,
                                  boolean externalSecurityDefiner,
                                  boolean externalSecurityInvoker,
                                  boolean externalSecurityImplementationDefined) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.externalSecurityDefiner = externalSecurityDefiner;
        this.externalSecurityInvoker = externalSecurityInvoker;
        this.externalSecurityImplementationDefined = externalSecurityImplementationDefined;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isExternalSecurityDefiner() {
        return externalSecurityDefiner;
    }

    public boolean isExternalSecurityInvoker() {
        return externalSecurityInvoker;
    }

    public boolean isExternalSecurityImplementationDefined() {
        return externalSecurityImplementationDefined;
    }

}
